<template>
  <div class="marketingBox">
    <el-tabs v-model="activeName">
      <el-tab-pane label="营销活动" name="1">
        <Activity v-if="activeName === '1'"/>
      </el-tab-pane>
      <el-tab-pane label="营销管理" name="2">
        <Manage v-if="activeName === '2'"/>
      </el-tab-pane>
      <el-tab-pane label="营销统计" name="3">
        <Public v-if="activeName === '3'"/>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import Activity from '../components/marketactivity/activity'
import Manage from '../components/marketactivity/manage'
import Public from '../components/marketactivity/public'
export default {
  components: {
    Activity,
    Manage,
    Public
  },
  data() {
    return {
      activeName: '1'
    }
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
.marketingBox {
  padding: 0 20px;
}
</style>

